package com.ruoyi.reports.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 举报对象 tb_reports
 * 
 * @author 劳雅玲
 * @date 2024-04-28
 */
public class TbReports extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 举报帖子的id */
    @Excel(name = "举报帖子的id")
    private Long postId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 举报内容 */
    @Excel(name = "举报内容")
    private String reason;

    @Excel(name = "帖子标题")
    private String title;

    @Excel(name = "用户名称")
    private String userName;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Excel(name = "用户昵称")
    private String nickName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    @Override
    public String toString() {
        return "TbReports{" +
                "id='" + id + '\'' +
                ", postId=" + postId +
                ", userId=" + userId +
                ", reason='" + reason + '\'' +
                ", title='" + title + '\'' +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                '}';
    }
}
